.TH pnet_nodes 3  "October 21, 2008" "version 1.0.003" "Pnet programmers manual"
.SH NAME
pnet_nodes \- Get total number of nodes in the network
.SH SYNOPSIS
.nf
\fB#include <mpi.h>
#include "pnet.h"

int pnet_nodes(const Pnet\fP *\fIpnet\fB);\fP
.fi
.SH DESCRIPTION
Function returns total number of nodes in the network. Function is implemented as a macro.
The argument of \fBpnet_nodes\fP is:
.TP
.I pnet
Pointer to initialized Pnet struct 
.SH RETURN VALUE
Upon successful completion number of nodes in network is returned.

.SH AUTHORS

For authors and contributors see AUTHORS file

.SH COPYRIGHT

(C) Potsdam Institute for Climate Impact Research (PIK), see COPYRIGHT file

.SH SEE ALSO
pnet_init(3), pnet_free(3), pnet_setup(3), pnet_lo(3), pnet_hi(3)
